<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>网站首页</title>
</head>
<body>
首页
<div th:text="${user.userName}">得到的</div>
</body>
</html>